x86/VPMU: implement ipc and arch filter flags
authorBrendan Gregg <bgregg@netflix.com>
Tue, 12 Jan 2016 10:33:16 +0000 (11:33 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Jan 2016 10:33:16 +0000 (11:33 +0100)
commite3cce1799df2f957dfa00f84a5315cbf896490fe
tree3592912160c56c4545e166f3b6e59afa3c396da3
parent5513bd0b4675e2fa2ff4e9a06885f16727901805
x86/VPMU: implement ipc and arch filter flags

This introduces a way to have a restricted VPMU, by specifying one of two
predefined groups of PMCs to make available. For secure environments, this
allows the VPMU to be used without needing to enable all PMCs.

Signed-off-by: Brendan Gregg <bgregg@netflix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
docs/misc/xen-command-line.markdown
xen/arch/x86/cpu/vpmu.c
xen/arch/x86/cpu/vpmu_intel.c
xen/include/asm-x86/msr-index.h
xen/include/public/pmu.h